package cn.stylefeng.guns.modular.robot.service;

import cn.stylefeng.guns.core.common.page.LayuiPageInfo;
import cn.stylefeng.guns.modular.robot.entity.Group;
import cn.stylefeng.guns.modular.robot.entity.vo.req.GroupListReq;
import cn.stylefeng.roses.core.reqres.response.ResponseData;
import com.baomidou.mybatisplus.extension.service.IService;

public interface GroupService extends IService<Group> {

    Group getGroupByTgGroupId(Long groupId);

    void addGroup(GroupListReq groupListReq);

    void edit(GroupListReq groupListReq);

    LayuiPageInfo list(Long tgGroupId, String name, String userName, Long pageSize, Long pageNum);

    ResponseData detail(Long id);

    void delete(Long id);
}
